package com.rimi.project.bean;

public class Book {
	private int id;
	
	private String bookName;
	
	private double price;


	@Override
	public String toString() {
		return "Book [id=" + id + ", bookName=" + bookName + ", price=" + price + "]";
	}

	public Book(int id, String bookName, Double price) {
		super();
		this.id = id;
		this.bookName = bookName;
		this.price = price;
	}

	public Book(String bookName, Double price) {
		super();
		this.bookName = bookName;
		this.price = price;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getBookName() {
		return bookName;
	}

	public void setBookName(String bookName) {
		this.bookName = bookName;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}
}
